home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / +ORC / Orc pac 5 / FILEZ.ZIP / SKY.ZIP / REACH.ZIP / INSTALLV.BAT < prev    next >
DOS Batch File  |  1992-09-07  |  1KB  |  38 lines

  1. :@ECHO OFF
  2. REM    THIS IS THE MGA INSTALL COPY PROGRAM
  3. REM     PARAMETER 1 is CURRENT DIR = %1
  4. REM THE FOLLOWING FILES ARE ON DISK 1:
  5. echo ECHO INSERT DISK %%1 IN FLOPPY DRIVE %%2>RETRY.BAT
  6. echo PAUSE>>RETRY.BAT
  7. echo %%2:CHECKDSK %%1 %%2>>RETRY.BAT
  8. If exist *.v*    del    *.v* >NUL
  9. call    %1:CHECKDSK 1 %1
  10. call    %1:COPYCOMM.BAT %1
  11. call    %1:COPYLIBV.BAT    %1
  12. REM THE FOLLOWING FILES ARE ON DISK 2:
  13. call    %1:CHECKDSK 3 %1
  14. %1:COPYARTV.EXE >NUL
  15. IF ERRORLEVEL 1 Goto Problems
  16. ECHO             --- INSTALLATION IS NOW COMPLETE ---
  17. ECHO             --- TYPE REACH IN THIS DIRECTORY ---
  18. GOTO Done
  19. :Problems
  20. ECHO             - ERROR DURING  WRITING - NO SPACE -
  21. ECHO There was a write error, probably because the target disk is full.
  22. ECHO The VGA version requires about 1.5MB of disk space.
  23. ECHO After deleting something else you can type INSTALL in this directory
  24. ECHO to repeat the same installation, or type INSTALL on the floppy %1 to
  25. ECHO change the installation details.
  26. ECHO The failed installation will now be deleted:
  27. ATTRIB +R INSTALLV.BAT
  28. @ECHO ON
  29. DEL *.*
  30. @ECHO OFF
  31. ATTRIB -R INSTALLV.BAT
  32. ECHO @ECHO OFF >INSTALL.BAT
  33. ECHO INSTALLV %1>>INSTALL.BAT
  34. DIR *.BAT
  35.  
  36. :Done
  37.  
  38.